package model

import "gorm.io/gorm"

type Hospital struct {
	gorm.Model
	HospitalName      string `gorm:"type:varchar(150); unique;not null; comment:'医院名称'"`
	Level             string `gorm:"type:varchar(50);not null; comment:'医院等级'"`
	Province          string `gorm:"type:varchar(50);not null; comment:'所在省份'"`
	City              string `gorm:"type:varchar(50);not null; comment:'所在城市'"`
	Address           string `gorm:"type:varchar(50);not null; comment:'医院具体位置'"`
	Phone             string `gorm:"type:varchar(11);not null; comment:'手机号'"`
	Introduction      string `gorm:"type:text; comment:'简介'"`
	CooperationStatus int64  `gorm:"type:int;not null; comment:'0 - 合作中，1 - 已终止'"`
}
